GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#2833)
by
unknown
10:23
created

$(document).ready   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
c 0
b 0
f 0
nc 2
nop 0
dl 0
loc 16
rs 9.4285
1
/**
2
 * @package assets
3
 */
4
5
(function($, Symphony) {
0 ignored issues
show
Unused Code introduced by
The parameter Symphony is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
6
7
	$(document).ready(function() {
8
9
		// Init collapsibles
10
		var collapsible = $('.frame').symphonyCollapsible({
11
			items: '> li',
12
			handles: '.frame-header',
13
			content: '.content',
14
			save_state: true,
15
			storage: 'symphony.collapsible.error'
16
		});
17
18
		// Hide backtrace and query log by default
19
		if(!('symphony.collapsible.error.0.collapsed' in window.localStorage)) {
20
			collapsible.trigger('collapse.collapsible', [0]);
21
		}
22
	});
23
24
})(window.jQuery, window.Symphony);
25